package com.waypolice.mapper;

import java.util.List;

import com.waypolice.pojo.UpmsFondsManage;
import com.waypolice.pojo.UpmsFondsManageExample;
import org.apache.ibatis.annotations.Param;

public interface UpmsFondsManageMapper {
    int countByExample(UpmsFondsManageExample example);

    int deleteByExample(UpmsFondsManageExample example);

    int deleteByPrimaryKey(Integer fondsId);

    int insert(UpmsFondsManage record);

    int insertSelective(UpmsFondsManage record);

    List<UpmsFondsManage> selectByExample(UpmsFondsManageExample example);

    UpmsFondsManage selectByPrimaryKey(Integer fondsId);

    int updateByExampleSelective(@Param("record") UpmsFondsManage record, @Param("example") UpmsFondsManageExample example);

    int updateByExample(@Param("record") UpmsFondsManage record, @Param("example") UpmsFondsManageExample example);

    int updateByPrimaryKeySelective(UpmsFondsManage record);

    int updateByPrimaryKey(UpmsFondsManage record);
    /*
        添加全宗并返回自增主键
     */
    int insertSelectFondsId(UpmsFondsManage record);

    /*
    查出当前表有多少条数据
     */
    Integer selectCount();
}